ACFWF\Models\URL_Coupons A

Total Complexity 55
Dependencies 4
Dependents 1
Total lines 522
Lines of code 221
Logical lines of code 121
Comment lines 229
Methods 15
Properties 5

Methods 15

Method Rating Maintainability Complexity Lines of code
_after_apply_redirect_success()
A
46 10 36
apply_coupon_from_query_string()
A
47 8 35
implement_url_coupon()
S
47 6 37
hide_coupon_fields()
S
67 5 7
_hackish_fetch_coupon_error_message()
S
64 5 9
_get_coupon_id_by_slug()
S
65 5 8
_after_apply_redirect_invalid()
S
59 4 14
override_wc_coupon_registration()
S
60 2 13
run()
S
61 2 11
_get_coupon_id_from_override()
S
58 1 18
get_instance()
S
70 2 6
sanitize_coupon_endpoint_option_value()
S
79 2 3
_process_invalid_coupon_redirect_url_query_args()
S
61 1 13
__construct()
S
67 1 8
flush_rewrite_rules_on_coupon_endpoint_change()
S
78 1 3